package com.jtjrenren.android.taxi.driver.bean.event;

import com.jtjrenren.android.taxi.driver.bean.api.ApiUpVersion;

/**
 * Created by Administrator on 2016/5/4.
 */
public class UpAppEvent {

    public static final int APP_UPDATE_NO = 0;
    public static final int APP_UPDATE_NEED = 1;
    public static final int APP_UPDATE_FORCE = 2;

    private int mode;
    private ApiUpVersion.VersionEntity info;

    public UpAppEvent(int mode, ApiUpVersion.VersionEntity info) {
        this.mode = mode;
        this.info = info;
    }

    public int getMode() {
        return mode;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public ApiUpVersion.VersionEntity getInfo() {
        return info;
    }

    public void setInfo(ApiUpVersion.VersionEntity info) {
        this.info = info;
    }
}
